package com.fc.dto;

import java.util.List;
import java.util.Map;

public class CodeGenarateDTO {
    /**
     * 作者
     */
    private  String author;
    /**
     * 数据库类型
     */
    private  String dbType;

    /**
     *父包名
     */
    private String parent;

    /**
     * 包名
     */
    private String moduleName;

    /**
     * 要映射的表
     */
    private String include;

    /**
     * 是否开启Lombok
     */
    private Boolean lombokFlag = true;

    /**
     * 是否开启rest风格
     */
    private Boolean restFlag = false;

    /**
     * 列表查询条件
     */
    private List<FieldDto> query;

    /**
     * 列表展示字段
     */
    private List<FieldDto> list;

    /**
     * 表单字段
     */
    private List<FieldDto> form;

    /**
     * 设置逻辑删除字段
     */
    private String  logicDeleteFieldName;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getInclude() {
        return include;
    }

    public void setInclude(String include) {
        this.include = include;
    }

    public Boolean getLombokFlag() {
        return lombokFlag;
    }

    public void setLombokFlag(Boolean lombokFlag) {
        this.lombokFlag = lombokFlag;
    }

    public Boolean getRestFlag() {
        return restFlag;
    }

    public void setRestFlag(Boolean restFlag) {
        this.restFlag = restFlag;
    }

    public String getLogicDeleteFieldName() {
        return logicDeleteFieldName;
    }

    public void setLogicDeleteFieldName(String logicDeleteFieldName) {
        this.logicDeleteFieldName = logicDeleteFieldName;
    }

    public List<FieldDto> getQuery() {
        return query;
    }

    public void setQuery(List<FieldDto> query) {
        this.query = query;
    }

    public List<FieldDto> getList() {
        return list;
    }

    public void setList(List<FieldDto> list) {
        this.list = list;
    }

    public List<FieldDto> getForm() {
        return form;
    }

    public void setForm(List<FieldDto> form) {
        this.form = form;
    }
}
